<?php    
defined('C5_EXECUTE') or die(_("Access Denied."));

class MinecraftPackage extends Package {

     protected $pkgHandle = 'minecraft_plugin';
     protected $appVersionRequired = '5.4.0';
     protected $pkgVersion = '1.0';

     public function getPackageDescription() {
          return t("Shows Minecraft Server Status and Players on your website!");
     }

     public function getPackageName() {
          return t("Minecraft Plugin");
     }
     
     public function install() {
          $pkg = parent::install();
     
          // install block 
          BlockType::installBlockTypeFromPackage('minecraft_plugin', $pkg); 
     }
     
}